{
  "name": "Service Provisioning",
  "tasks": {
    "workflow_start": {
      "name": "workflow_start",
      "groups": [],
      "x": -0.448252688172043,
      "y": 0.5137254901960784
    },
    "workflow_end": {
      "name": "workflow_end",
      "groups": [],
      "x": 0.43413978494623656,
      "y": 0.46568627450980393
    },
    "f786": {
      "name": "ShowFormByName",
      "summary": "Show Form with live service",
      "description": "Show Form with live service",
      "location": "Application",
      "app": "FormBuilder",
      "displayName": "FormBuilder",
      "type": "manual",
      "variables": {
        "incoming": {
          "form_name": "Service Provisioning Form",
          "instance_data": {}
        },
        "outgoing": {
          "export": null
        },
        "error": "",
        "translations": []
      },
      "view": "/formbuilder/task/ShowFormByName",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": -0.05174731182795699,
      "y": 0.6637254901960784,
      "scheduled": false
    },
    "9d76": {
      "name": "query",
      "canvasName": "query",
      "summary": "Query Data Using 'json-query' Format",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": false,
          "query": "mode",
          "obj": "$var.job.formData"
        },
        "outgoing": {
          "return_data": null
        },
        "translations": [
          {
            "translations": [],
            "type": "*",
            "variable": "mode"
          }
        ],
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": -0.30913978494623656,
      "y": 0.5235294117647059,
      "scheduled": false
    },
    "2f0c": {
      "name": "ShowJsonForm",
      "canvasName": "ShowJsonForm",
      "summary": "Show Json Form",
      "description": "Show Json Form",
      "location": "Application",
      "app": "JsonForms",
      "displayName": "JsonForms",
      "type": "manual",
      "variables": {
        "incoming": {
          "form_id": "Service Provisioning",
          "instance_data": ""
        },
        "outgoing": {
          "export": "$var.job.formData"
        },
        "translations": [],
        "error": ""
      },
      "view": "/json-forms/task/ShowJsonForm",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>Show</span>JsonForm"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Show</span> Json Form"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Show</span> Json Form"
        }
      ],
      "groups": [],
      "x": -0.30864928909952605,
      "y": 0.8,
      "scheduled": false
    },
    "8a4f": {
      "name": "evaluation",
      "canvasName": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "",
                  "operand_1": {
                    "variable": "mode",
                    "task": "job"
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "Demo",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": -0.1821236559139785,
      "y": 0.5225490196078432
    },
    "b83b": {
      "name": "childJob",
      "canvasName": "childJob",
      "summary": "Run Child Job",
      "description": "Run a child Job inside a Workflow",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "task": "",
          "workflow": "Service Provisioning Demo",
          "variables": {}
        },
        "outgoing": {
          "job_details": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>child</span>Job"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Child</span> Job"
        },
        {
          "key": "description",
          "highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
        }
      ],
      "groups": [],
      "actor": "job",
      "x": 0.07795698924731183,
      "y": 0.28627450980392155
    },
    "66bc": {
      "name": "childJob",
      "canvasName": "childJob",
      "summary": "Run live network workflow",
      "description": "Run a child Job inside a Workflow",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "task": "",
          "workflow": "Service Provisioning Service",
          "variables": {
            "body": {	
              "variable": "",	
              "task": "static"	
            },
            "mode": {
              "variable": "",
              "task": "job",
              "value": "mode"
            },
            "instance": {
              "variable": "",
              "task": "f786",
              "value": "export"
            }
          }
        },
        "outgoing": {
          "job_details": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>child</span>Job"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Child</span> Job"
        },
        {
          "key": "description",
          "highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
        }
      ],
      "groups": [],
      "actor": "job",
      "x": 0.16061827956989247,
      "y": 0.6686274509803921
    },
    "ff7e": {
      "name": "evaluation",
      "canvasName": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": true,
              "evaluations": [
                {
                  "query": "outcome",
                  "operand_1": {
                    "variable": "job_details",
                    "task": "66bc"
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "failure",
                    "task": "static"
                  }
                },
                {
                  "query": "",
                  "operand_1": {
                    "variable": "mode",
                    "task": "job"
                  },
                  "operator": "!contains",
                  "operand_2": {
                    "variable": "Zero touch",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": 0.3407258064516129,
      "y": 0.5529411764705883
    },
    "1bc4": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Failed child job",
      "description": "View data in a pretty format",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Service provisioning has failed",
          "message": "",
          "body": "The service provisioning has failed<br>Please choose <b>RETRY</b> to view form again or <b>END</b> to terminate the workflow",
          "btn_success": "RETRY",
          "btn_failure": "END"
        },
        "outgoing": {},
        "translations": [],
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 0.4188388625592417,
      "y": 0.8303921568627451,
      "scheduled": false
    }
  },
  "transitions": {
    "workflow_start": {
      "9d76": {
        "type": "standard",
        "state": "success"
      }
    },
    "workflow_end": {},
    "f786": {
      "66bc": {
        "type": "standard",
        "state": "success"
      }
    },
    "cc69": {},
    "9d76": {
      "2f0c": {
        "type": "standard",
        "state": "failure"
      },
      "8a4f": {
        "type": "standard",
        "state": "success"
      }
    },
    "2f0c": {
      "9d76": {
        "type": "revert",
        "state": "success"
      }
    },
    "8a4f": {
      "b83b": {
        "type": "standard",
        "state": "success"
      },
      "f786": {
        "type": "standard",
        "state": "failure"
      }
    },
    "b83b": {
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "66bc": {
      "ff7e": {
        "type": "standard",
        "state": "success"
      }
    },
    "ff7e": {
      "workflow_end": {
        "type": "standard",
        "state": "failure"
      },
      "1bc4": {
        "type": "standard",
        "state": "success"
      }
    },
    "1bc4": {
      "f786": {
        "type": "revert",
        "state": "success"
      },
      "workflow_end": {
        "type": "standard",
        "state": "failure"
      }
    }
  },
  "font_size": 12,
  "created": "2019-03-26T19:19:39.700Z",
  "created_by": {
    "provenance": "Local AAA",
    "username": "admin@pronghorn",
    "firstname": "admin",
    "inactive": false,
    "email": ""
  },
  "createdVersion": "5.5.9-2019.3.0.0",
  "groups": [],
  "last_updated": "2020-02-25T22:22:31.742Z",
  "last_updated_by": {
    "provenance": "Local AAA",
    "username": "Itential Artifacts",
    "firstname": "admin",
    "inactive": false,
    "email": ""
  },
  "lastUpdatedVersion": "5.5.9-2019.3.0.0",
  "type": "automation",
  "description": null,
  "tags": []
}
